package com.glsc.ngateway.common.base.repo.mysql.gateway.oaflow;

import com.glsc.ngateway.common.base.domain.mysql.gateway.oaflow.TOaFlowRelativeMetaTable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TOaFlowRelativeMetaTableRepository extends JpaRepository<TOaFlowRelativeMetaTable, Long> {


    List<TOaFlowRelativeMetaTable> findByWorkFlowId(String workFlowId);

    List<TOaFlowRelativeMetaTable> findByWorkFlowIdAndFieldAppend(String workFlowId, String fieldAppend);

}
